package com.jintian.smart.kernel.security.mapper;
import com.jintian.smart.base.api.security.entity.OperateLogEntity;
import com.jintian.smart.base.api.security.form.OperateLogQueryForm;
import com.jintian.smart.base.api.security.view.OperateLogVO;
import com.jintian.smart.kernel.orm.mapper.IBaseExtMapper;
import org.beetl.sql.core.page.PageResult;
import org.beetl.sql.mapper.annotation.Mapper;
import org.beetl.sql.mapper.annotation.Param;
import org.beetl.sql.mapper.annotation.SqlResource;

import java.util.List;

/**
 * 操作日志
 */
@Mapper
@SqlResource("security.OperateLog")
public interface OperateLogMapper extends IBaseExtMapper<OperateLogEntity> {
    /**
     * 分页查询
     *
     * @param queryForm
     * @return UserOperateLogEntity
     */
    PageResult<OperateLogVO> queryByPage(OperateLogQueryForm queryForm);


    /**
     * 批量删除
     *
     * @param idList
     * @return
     */
    void deleteByIds(@Param("idList") List<Long> idList);
}
